<template>
  <van-skeleton title :row="20" :loading="loading" style="padding: 20px">
    <slot name="my-content"></slot>
  </van-skeleton>
</template>

<script>
import { Skeleton } from "vant";
export default {
  name: "MyVanskeleton",
  components: {
    [Skeleton.name]: Skeleton,
  },
  props: ["row", "loading"],
};
</script>

<style lang="less" scoped>
@import "vant/lib/index.less";
@import "@/assets/css/common.less";
</style>
